package core.event
{
    import com.adobe.cairngorm.control.CairngormEvent;

    
    
    public class BaseEvent extends CairngormEvent
    {
        /**
        * callback function
        **/
        
        public var callbackFunction:Function;
        
        
        /**
        * whether show mask when invoke remote method 
        **/
        
        public var showBusy:Boolean = true;
        
        
        private var _evenID:String = null;
        
        public function EVENT_ID():String {
            return this._evenID;
        }
        
        public function BaseEvent(eventID:String, data:Object=null)
        {
            _evenID = eventID;
            this.data = data;
            super(_evenID);
        }
        
    }
}